import request from "@/utils/request";

export function judgeProgram(data) {
    return request({
        url: '/judge/program',
        method: 'post',
        data:data,
        headers:{
            Authorization:localStorage.getItem('Authorization')
        }
    })
}

export function judgeMatchProgram(data,matchId) {
    return request({
        url: '/mock-match/judge/program',
        method: 'post',
        data:data,
        params: {
            matchId: matchId
        },
        headers:{
            Authorization:localStorage.getItem('Authorization')
        }
    })
}

